From: Marco Trevisan (TreviƱo) Date: Wed, 11 Sep 2019 18:14:27 +0000 (+0200) Subject: renameFolderMenu: Don't save the source X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~40 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d6ba6dc554d0ee077f5ea692a8dfc4e0f59215ce;p=gnome-shell.git renameFolderMenu: Don't save the source The source actor is already tracked by the PopupMenu internally as sourceActor, while nothing in RenameFolderMenu uses the source, so we can drop this. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/720 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 21469d1f9..39fa99e7e 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1717,7 +1717,6 @@ var RenameFolderMenu = class RenameFolderMenu extends PopupMenu.PopupMenu { constructor(source, folder) { super(source.actor, 0.5, St.Side.BOTTOM); - this._source = source; this._folder = folder; // We want to keep the item hovered while the menu is up